package hn.cch.framework.akka;

import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;

public class AkkaMain {


    public static void main(String[] args) {

        ActorSystem actorSystem = ActorSystem.create("AkkaRemoteClient");
        ActorRef actorRef = actorSystem.actorOf(Props.create(ConsumerActor.class));
        actorRef.tell("function", ActorRef.noSender());

    }
}
